#!/usr/bin/env python3.3

sqs=0
ssq=0
for i in range(1,101):
  sqs+=i
  ssq+=i**2
print((sqs**2)-ssq)
